﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Project.UI;
using Project;

namespace Project
{
    public class GameManager : MonoBehaviour
    {

        public static GameManager Instance;


        public static ViewController currentView;

        

        IEnumerator Start()
        {

            if (Instance == null)
            {
                Instance = this;
                DontDestroyOnLoad(gameObject);
                // Application.targetFrameRate = 300;

                // StartCoroutine(OnGetSidByTime());
            }

            yield return new WaitForSeconds(0.5f);
            //  Screen.fullScreen = false;

        }
    }
}

